package com.unohacha.qqj.fzdr.bean.homebean;

import java.io.Serializable;
import java.util.List;

/**
 * 首页开放城市
 */

public class HomeOpenProvinceBean implements Serializable{

    /**
     * code : 1
     * data : [{"city":[{"name":"无锡市","id":10960,"rea":[{"town":[{"name":"澄江镇","id":11019},{"name":"璜土镇","id":11020},{"name":"利港镇","id":11021},{"name":"申港镇","id":11022},{"name":"夏港镇","id":11023},{"name":"月城镇","id":11024},{"name":"青阳镇","id":11025},{"name":"霞客镇","id":11026},{"name":"南闸镇","id":11027},{"name":"云亭镇","id":11028},{"name":"华士镇","id":11029},{"name":"周庄镇","id":11030},{"name":"新桥镇","id":11031},{"name":"长泾镇","id":11032},{"name":"顾山镇","id":11033},{"name":"祝塘镇","id":11034},{"name":"江阴经济开发区新城东","id":11035},{"name":"江阴经济开发区港口","id":11036},{"name":"江阴经济开发区石庄","id":11037},{"name":"江阴经济开发区靖江园区","id":11038}],"name":"江阴市","id":11018}]},{"name":"常州市","id":11245,"rea":[{"town":[{"name":"湖塘镇","id":11277},{"name":"牛塘镇","id":11278},{"name":"洛阳镇","id":11279},{"name":"遥观镇","id":11280},{"name":"横林镇","id":11281},{"name":"横山桥镇","id":11282},{"name":"芙蓉镇","id":11283},{"name":"焦溪镇","id":11284},{"name":"郑陆镇","id":11285},{"name":"雪堰镇","id":11286},{"name":"潘家镇","id":11287},{"name":"漕桥镇","id":11288},{"name":"前黄镇","id":11289},{"name":"礼嘉镇","id":11290},{"name":"寨桥镇","id":11291},{"name":"邹区镇","id":11292},{"name":"卜弋镇","id":11293},{"name":"夏溪镇","id":11294},{"name":"嘉泽镇","id":11295},{"name":"湟里镇","id":11296},{"name":"东安镇","id":11297},{"name":"奔牛镇","id":11298},{"name":"武进经济开发区","id":11299},{"name":"运村农科良种场","id":11300},{"name":"奔牛稻麦原种场","id":11301},{"name":"郑陆良种繁育场","id":11302},{"name":"夏溪良种繁育场","id":11303},{"name":"蚕种场","id":11304},{"name":"前黄苗圃","id":11305},{"name":"水产养殖场","id":11306},{"name":"种兔场","id":11307},{"name":"横山苗圃","id":11308},{"name":"公路苗圃","id":11309},{"name":"高新区","id":11310}],"name":"武进区","id":11276}]},{"name":"苏州市","id":11348,"rea":[{"town":[{"name":"虞山镇","id":11420},{"name":"梅李镇","id":11421},{"name":"海虞镇","id":11422},{"name":"新港镇","id":11423},{"name":"古里镇","id":11424},{"name":"沙家浜镇","id":11425},{"name":"支塘镇","id":11426},{"name":"董浜镇","id":11427},{"name":"辛庄镇","id":11428},{"name":"尚湖镇","id":11429},{"name":"虞山林场","id":11430},{"name":"常熟经济开发区","id":11431},{"name":"常熟东南开发区","id":11432}],"name":"常熟市","id":11419},{"town":[{"name":"杨舍镇","id":11434},{"name":"塘桥镇","id":11435},{"name":"金港镇","id":11436},{"name":"锦丰镇","id":11437},{"name":"乐余镇","id":11438},{"name":"凤凰镇","id":11439},{"name":"南丰镇","id":11440},{"name":"大新镇","id":11441},{"name":"常阴沙管理区","id":11442},{"name":"江苏省张家港经济技术开发区","id":11443},{"name":"张家港市沿江开发办","id":11444},{"name":"张家港保税区","id":11445},{"name":"张家港市稻麦良种场","id":11446},{"name":"张家港市畜禽良种场","id":11447}],"name":"张家港市","id":11433},{"town":[],"name":"吴江区","id":47499}]},{"name":"南通市","id":11482,"rea":[{"town":[],"name":"通州区","id":47500}]}],"name":"江苏省","id":10808},{"city":[{"name":"杭州市","id":12597,"rea":[{"town":[{"name":"临平街道","id":12686},{"name":"南苑街道","id":12687},{"name":"东湖街道","id":12688},{"name":"星桥街道","id":12689},{"name":"乔司镇","id":12690},{"name":"运河镇","id":12691},{"name":"塘栖镇","id":12692},{"name":"崇贤镇","id":12693},{"name":"仁和镇","id":12694},{"name":"良渚镇","id":12695},{"name":"闲林镇","id":12696},{"name":"仓前镇","id":12697},{"name":"余杭镇","id":12698},{"name":"径山镇","id":12699},{"name":"瓶窑镇","id":12700},{"name":"鸬鸟镇","id":12701},{"name":"百丈镇","id":12702},{"name":"黄湖镇","id":12703},{"name":"中泰乡","id":12704}],"name":"余杭区","id":12685},{"town":[{"name":"新安江街道","id":12744},{"name":"洋溪街道","id":12745},{"name":"更楼街道","id":12746},{"name":"莲花镇","id":12747},{"name":"乾潭镇","id":12748},{"name":"梅城镇","id":12749},{"name":"杨村桥镇","id":12750},{"name":"下涯镇","id":12751},{"name":"大洋镇","id":12752},{"name":"三都镇","id":12753},{"name":"寿昌镇","id":12754},{"name":"航头镇","id":12755},{"name":"大慈岩镇","id":12756},{"name":"大同镇","id":12757},{"name":"李家镇","id":12758},{"name":"钦堂乡","id":12759}],"name":"建德市","id":12743},{"town":[],"name":"柯桥区","id":47498}]},{"name":"嘉兴市","id":13280,"rea":[{"town":[{"name":"硖石街道","id":13326},{"name":"海洲街道","id":13327},{"name":"海昌街道","id":13328},{"name":"马桥街道","id":13329},{"name":"许村镇","id":13330},{"name":"长安镇","id":13331},{"name":"周王庙镇","id":13332},{"name":"丁桥镇","id":13333},{"name":"斜桥镇","id":13334},{"name":"黄湾镇","id":13335},{"name":"盐官镇","id":13336},{"name":"袁花镇","id":13337},{"name":"尖山新区","id":13338}],"name":"海宁市","id":13325},{"town":[{"name":"梧桐街道","id":13351},{"name":"龙翔街道","id":13352},{"name":"凤鸣街道","id":13353},{"name":"乌镇镇","id":13354},{"name":"濮院镇","id":13355},{"name":"屠甸镇","id":13356},{"name":"石门镇","id":13357},{"name":"河山镇","id":13358},{"name":"洲泉镇","id":13359},{"name":"大麻镇","id":13360},{"name":"崇福镇","id":13361},{"name":"高桥镇","id":13362},{"name":"同福乡","id":13363}],"name":"桐乡市","id":13350}]},{"name":"湖州市","id":13364,"rea":[{"town":[{"name":"武康镇","id":13393},{"name":"乾元镇","id":13394},{"name":"新市镇","id":13395},{"name":"洛舍镇","id":13396},{"name":"钟管镇","id":13397},{"name":"莫干山镇","id":13398},{"name":"雷甸镇","id":13399},{"name":"禹越镇","id":13400},{"name":"新安镇","id":13401},{"name":"筏头乡","id":13402},{"name":"三合乡","id":13403}],"name":"德清市","id":13392},{"town":[{"name":"雉城镇","id":13405},{"name":"洪桥镇","id":13406},{"name":"李家巷镇","id":13407},{"name":"夹浦镇","id":13408},{"name":"林城镇","id":13409},{"name":"泗安镇","id":13410},{"name":"虹星桥镇","id":13411},{"name":"和平镇","id":13412},{"name":"小浦镇","id":13413},{"name":"煤山镇","id":13414},{"name":"水口乡","id":13415},{"name":"二界岭乡","id":13416},{"name":"吕山乡","id":13417},{"name":"吴山乡","id":13418},{"name":"白岘乡","id":13419},{"name":"槐坎乡","id":13420}],"name":"长兴县","id":13404}]}],"name":"浙江省","id":12596}]
     * message : 请求成功
     */
    private int code;
    private List<DataEntity> data;
    private String message;

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public String getMessage() {
        return message;
    }

    public class DataEntity implements Serializable{
        /**
         * city : [{"name":"无锡市","id":10960,"rea":[{"town":[{"name":"澄江镇","id":11019},{"name":"璜土镇","id":11020},{"name":"利港镇","id":11021},{"name":"申港镇","id":11022},{"name":"夏港镇","id":11023},{"name":"月城镇","id":11024},{"name":"青阳镇","id":11025},{"name":"霞客镇","id":11026},{"name":"南闸镇","id":11027},{"name":"云亭镇","id":11028},{"name":"华士镇","id":11029},{"name":"周庄镇","id":11030},{"name":"新桥镇","id":11031},{"name":"长泾镇","id":11032},{"name":"顾山镇","id":11033},{"name":"祝塘镇","id":11034},{"name":"江阴经济开发区新城东","id":11035},{"name":"江阴经济开发区港口","id":11036},{"name":"江阴经济开发区石庄","id":11037},{"name":"江阴经济开发区靖江园区","id":11038}],"name":"江阴市","id":11018}]},{"name":"常州市","id":11245,"rea":[{"town":[{"name":"湖塘镇","id":11277},{"name":"牛塘镇","id":11278},{"name":"洛阳镇","id":11279},{"name":"遥观镇","id":11280},{"name":"横林镇","id":11281},{"name":"横山桥镇","id":11282},{"name":"芙蓉镇","id":11283},{"name":"焦溪镇","id":11284},{"name":"郑陆镇","id":11285},{"name":"雪堰镇","id":11286},{"name":"潘家镇","id":11287},{"name":"漕桥镇","id":11288},{"name":"前黄镇","id":11289},{"name":"礼嘉镇","id":11290},{"name":"寨桥镇","id":11291},{"name":"邹区镇","id":11292},{"name":"卜弋镇","id":11293},{"name":"夏溪镇","id":11294},{"name":"嘉泽镇","id":11295},{"name":"湟里镇","id":11296},{"name":"东安镇","id":11297},{"name":"奔牛镇","id":11298},{"name":"武进经济开发区","id":11299},{"name":"运村农科良种场","id":11300},{"name":"奔牛稻麦原种场","id":11301},{"name":"郑陆良种繁育场","id":11302},{"name":"夏溪良种繁育场","id":11303},{"name":"蚕种场","id":11304},{"name":"前黄苗圃","id":11305},{"name":"水产养殖场","id":11306},{"name":"种兔场","id":11307},{"name":"横山苗圃","id":11308},{"name":"公路苗圃","id":11309},{"name":"高新区","id":11310}],"name":"武进区","id":11276}]},{"name":"苏州市","id":11348,"rea":[{"town":[{"name":"虞山镇","id":11420},{"name":"梅李镇","id":11421},{"name":"海虞镇","id":11422},{"name":"新港镇","id":11423},{"name":"古里镇","id":11424},{"name":"沙家浜镇","id":11425},{"name":"支塘镇","id":11426},{"name":"董浜镇","id":11427},{"name":"辛庄镇","id":11428},{"name":"尚湖镇","id":11429},{"name":"虞山林场","id":11430},{"name":"常熟经济开发区","id":11431},{"name":"常熟东南开发区","id":11432}],"name":"常熟市","id":11419},{"town":[{"name":"杨舍镇","id":11434},{"name":"塘桥镇","id":11435},{"name":"金港镇","id":11436},{"name":"锦丰镇","id":11437},{"name":"乐余镇","id":11438},{"name":"凤凰镇","id":11439},{"name":"南丰镇","id":11440},{"name":"大新镇","id":11441},{"name":"常阴沙管理区","id":11442},{"name":"江苏省张家港经济技术开发区","id":11443},{"name":"张家港市沿江开发办","id":11444},{"name":"张家港保税区","id":11445},{"name":"张家港市稻麦良种场","id":11446},{"name":"张家港市畜禽良种场","id":11447}],"name":"张家港市","id":11433},{"town":[],"name":"吴江区","id":47499}]},{"name":"南通市","id":11482,"rea":[{"town":[],"name":"通州区","id":47500}]}]
         * name : 江苏省
         * id : 10808
         */
        private List<CityEntity> city;
        private String name;
        private int id;

        public void setCity(List<CityEntity> city) {
            this.city = city;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setId(int id) {
            this.id = id;
        }

        public List<CityEntity> getCity() {
            return city;
        }

        public String getName() {
            return name;
        }

        public int getId() {
            return id;
        }

        public class CityEntity implements Serializable{
            /**
             * name : 无锡市
             * id : 10960
             * rea : [{"town":[{"name":"澄江镇","id":11019},{"name":"璜土镇","id":11020},{"name":"利港镇","id":11021},{"name":"申港镇","id":11022},{"name":"夏港镇","id":11023},{"name":"月城镇","id":11024},{"name":"青阳镇","id":11025},{"name":"霞客镇","id":11026},{"name":"南闸镇","id":11027},{"name":"云亭镇","id":11028},{"name":"华士镇","id":11029},{"name":"周庄镇","id":11030},{"name":"新桥镇","id":11031},{"name":"长泾镇","id":11032},{"name":"顾山镇","id":11033},{"name":"祝塘镇","id":11034},{"name":"江阴经济开发区新城东","id":11035},{"name":"江阴经济开发区港口","id":11036},{"name":"江阴经济开发区石庄","id":11037},{"name":"江阴经济开发区靖江园区","id":11038}],"name":"江阴市","id":11018}]
             */
            private String name;
            private int id;
            private List<ReaEntity> rea;

            public void setName(String name) {
                this.name = name;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setRea(List<ReaEntity> rea) {
                this.rea = rea;
            }

            public String getName() {
                return name;
            }

            public int getId() {
                return id;
            }

            public List<ReaEntity> getRea() {
                return rea;
            }

            public  class ReaEntity implements Serializable{
                /**
                 * town : [{"name":"澄江镇","id":11019},{"name":"璜土镇","id":11020},{"name":"利港镇","id":11021},{"name":"申港镇","id":11022},{"name":"夏港镇","id":11023},{"name":"月城镇","id":11024},{"name":"青阳镇","id":11025},{"name":"霞客镇","id":11026},{"name":"南闸镇","id":11027},{"name":"云亭镇","id":11028},{"name":"华士镇","id":11029},{"name":"周庄镇","id":11030},{"name":"新桥镇","id":11031},{"name":"长泾镇","id":11032},{"name":"顾山镇","id":11033},{"name":"祝塘镇","id":11034},{"name":"江阴经济开发区新城东","id":11035},{"name":"江阴经济开发区港口","id":11036},{"name":"江阴经济开发区石庄","id":11037},{"name":"江阴经济开发区靖江园区","id":11038}]
                 * name : 江阴市
                 * id : 11018
                 */
                private List<TownEntity> town;
                private String name;
                private String provinceName;
                private int id;
                private int provinceId;
                private boolean checked=false;

                public boolean isChecked() {
                    return checked;
                }

                public void setChecked(boolean checked) {
                    this.checked = checked;
                }

                public int getProvinceId() {
                    return provinceId;
                }

                public void setProvinceId(int provinceId) {
                    this.provinceId = provinceId;
                }

                public String getProvinceName() {
                    return provinceName;
                }

                public void setProvinceName(String provinceName) {
                    this.provinceName = provinceName;
                }

                public void setTown(List<TownEntity> town) {
                    this.town = town;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public List<TownEntity> getTown() {
                    return town;
                }

                public String getName() {
                    return name;
                }

                public int getId() {
                    return id;
                }

                public class TownEntity implements Serializable{
                    /**
                     * name : 澄江镇
                     * id : 11019
                     */
                    private String name;
                    private int id;

                    public void setName(String name) {
                        this.name = name;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getName() {
                        return name;
                    }

                    public int getId() {
                        return id;
                    }
                }
            }

        }
    }
}
